package com.quectel.core.module.group.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.quectel.core.module.group.entity.SysGroupVillageEntity;

import java.util.List;
import java.util.Map;

/**
 * @author rananxin
 * @date 2019-08-14 15:22:09
 */

public interface SysGroupVillageDao extends BaseMapper<SysGroupVillageEntity> {
    /**
     * 查询列表
     *
     * @param params
     * @return
     */
    List<SysGroupVillageEntity> queryList(Map<String, Object> params);

    /**
     * 查询数量
     *
     * @param params
     * @return
     */
    int queryTotal(Map<String, Object> params);

    List<Long> queryListByVillageId(Map<String, Object> params);
}
